#define _CRT_SECURE_NO_WARNINGS 1
#include "Queue.h"

void test()
{
	Queue q;
	QueueInit(&q);

	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);//1 2 3 4

	//QueuePop(&q);//2 3 4
	//QueuePop(&q);//3 4
	//QueuePop(&q);//3
	//QueuePop(&q);//

	printf("%d\n", QueueFront(&q));//1
	printf("%d\n", QueueBack(&q));//4
	printf("%d\n", QueueSize(&q));//4

	QueueDestroy(&q);
}

int main()
{
	test();
	return 0;
}